removed old functions.