whole input done
input set
input to state done
input to state done