Fixed reference to old function