Steps in Scala