removed old function that was not being used