removed old commented testing code