implemented camera_switch (thks M. Camelin)