class for formatting front end