@chrisofarabia: Yeah, Corrected the typo, just to know is this better way programming wise. Anyhow the code is working.