Thanks Omar,I had a stupid attack. I put pause at the end instead of a on a separate line.That solved the problem.