changed genome constructor