changed submitVote to submitData and put on own tab