add Switching Camera function