added the camera variable and removed unused collision map code