thank you for sharing this code, it really works well. very easy to understand .