- removed deprecated function