res can still be null, the conditional above only bails if res is set and not 100