removed old code that was not being used