one last change to submit functionality