modify controller for new form