add final and format to one line