separate raw input from processed input ... needs debugging probably
For debugging
sould correct I0 and I1 values
small clean-up