refined coding style