Added the GA code.