Changed what happens on submit