add map conver method