removed deprecated fn use