Thanks for sharing this code, it works.