refactoring styles 6