please include function getThoughtSpace. static void addThoughtSpace(ThoughtSpace ts) { getThoughtSpace_map.put(ts.globalID, ts); }