removed temp debug code