removed generator from Queue as node does not support it, but it was a cool thing to learn about :)