Removed debug cout.