This should be handled by the vote factory, I presented an example.