finally voting is functional