done with 3 methods and submitted the form