Added GA code to all examples