Scala Function Declaration