res was