Don't name transform function as not recursing any more