Penn State scientists discovered that legume plants use specific genes to choose which soil bacteria form nitrogen-fixing partnerships.