12.3 shortened to use dict.get(key, def_value) method