New input definition.
NB Needs to handle mutiports properly and state.txt modified accordingly