removed old functions not being used