doc and style edit