documentation and style updates