switch camera class to hierarchical