working camera class