on the way to create map mode