a queue example