refactored stylings