add a queue solution