use the camera API