broken commit. need to initialize map with comparator object