thanks the rewrite is just fine thanks for your help