change task.transform signature