Add method format of map