it won't do anything if queue is not empty