improve documentation
coding style