refactoring the css