fotmatted the classes