refactoring styles 7