working on the submit buttons