setting up classes