completes queue