changed to treeMap