added simulating a queue section