edited for camera tracking