changed printstreams to maps... it finally makes sense now