formatting fixes and documentation