removed deprecated library call