added test feature for voting