use map type