Many Thanks DrByte.

I nearly got it right