Changed GA code to old version