... match {
        case None => ...
        case Some(...) => ...
   }

Is usually better done with `...map{ ... }.getorElse(...)`