refactoring of css