add multi param closure capability