Removing cout statements