make data a type rather than a tool