doc and coding style