making submit button actually work