added pause before queue output