final formatting