Bengt,

I added code markers to make your code more readable.