Extract addGenome to separate method