added code to Chromosome