add method queue.clear