Converted medium() away from $_.