Thank you for the reply @ptrblck.
I actually created a new thread because the discussion deviates slightly and I have few more doubts. Can you please look at this?