clean up formatting, docs