Scala Apply Example