Removed old piece of code