styles refactored