In that case we'll have to check whether `res` has been set or not, so I think this is cleaner.