begining automode for camera