[IMP] models: make code of _mapped_func() readable