worked on the submit form