use getOrElse instead of plain get