removed old debugging code