making the form work