updating functionality to support static mod within interal function