Added 'removeInputData' and fixed input data funtions
Fixed 'addUnit' (input data)