Uncommented GA code