finalized formatting