make code not depend on the genome library