Moved the GA code.