refactored styles