add code for switching b/w cameras