Removed old analysis code