refactored to support streaming tap to console