Added CanVote hook