queues and namedtuples