that code works a treat thanks for the heads ups talk