formated total ouptut