added camera switching