commiting the class