Just do ```if res.nil?```