add some methods for Map

add some methods for Map