Added vote funcitonality