Yes noted. That code segment anyway needs lot of working and I will keep this point about closing it in mind. Thanks.