agree with robert thanks for the rewrite it's much better now