drop BuildMap function