Thanks, that code looks very promising