add erb mode