added a print
changed to concurrent hash map