thx for your code, it helps me a lot