example with String, Int, Option and Boolean parameters, which also showcase some Scala features ...