updated for camera