formatting the class