thanks for the advise. Works perfectly