style fixes
adding headers, changing return to assignment of isSubmitted