introduced StreamGroup
implemented dequeue