added check for when voting already occured