setting the class