Tweaking GA code