Checking inventory before election