Removed temp debug code