change map method