removed old code snippet