finished generator
improved the queue discussion