Using genetics for crop disease resistance