adding ga control code