I have made all the modifications you told me to, and now the program runs -- but doesn't work. When I say "goats"->thestr, and run it, and then press esc, all it does is echo's goats, without replacing the g and o. Any ideas? Thank you very much for you time, and work! :) TM