refactoring stylesheets