more or less working for multiple genomes