added some helper stuff to camera