move buildMap function