L to R and R to L IO work but stdin IO is a mess