tried to make the form work