revise to new css format