commenting out an unused function which only throws deprecation warnings