add submit button functionality, not working yet...