added the submit function that returns false