change data binding from data.input/output to 'data'