add the camera lock to insure the program working right