code style and docs