functionadded for nexia

HI Thyaga,

As discussed, I have made changes .Please review and let me know if you have any concerns.

Regards,
Sridhar.