removed old functions