add apply-map