change the camera class to an indentpent one