print ref \$output