parser for maping