finalizing formatting