coding standard refactoring