GA code for original project