When he was working with the pea plants he discovered that certain traits are dominant and others recessive (pea plant traits skipped generations and reappeared). That meant that different alleles for each trait had to be present in order for them to differ.