Altered and appended additional logic for the vote posting.