Removed print debug code