added a getter to camera