functionadded for nexia