added legend and alleles