enchance coding style