removed old py code