add new lib/object_transform function