Think you can simplify this with Hash#fetch(key, default)?