voting logic partially implemented with datatables