changed bind to submit