It works!
This is my third text program and finally I found one that works!