wip: extracting core cont'd - allow arbitrary number of arguments to transformation