changed the data structer that holds stream info to a set from a map