change HashMap to ConcurrentHashMap