refactoring styles 2