default dict replaced with get_or_default