a function was deprecated