added camera switch