move map to an internal resource