only set map-function