fix docs, and print formatting