adding fronted class