coding style improvement