formating the class