datarelation knows argument, fixing addInput/addOutput calls