creating of class