refactor of css