creation of class