removed old versions of functions