Created code for Gcamp controls