refactoring style code