Thanks for the explanations and guiding. Now this works the way I want it to.