refactor stylesheet