moving GA code back into body