i would prefer to fix this in the get_volume method instead if possible.

also, you can write unless key.nil? instead.

thanks!