polymorphic table for voting