Removed debugging cout statements