dinakar, did you try to debug the code the way I described you above?