refactoring styles