refactored the style to make everything look good