Making hashmap synchronized TODO