[matt] added some wiring for submit button, does not work properly