finish and formatting