slowly integrating query information into transform