implemented camera control