Thanks Lee
It still working correctly, so I must have done something right.