addInput function works