formatting and final answers