move GA code