Added Scala syntax