use map memory