Thank you Puneet Sir.. I read it and understood the above mentioned way was incorrect after asking here…
Thanks again..