Building queues and supplying data