Scala example updated to use String interpolation