change the way map work