Is it safe to call get() here? Maybe getOrElse is needed?