Util: using 'getOrElse' is better than pattern-matching