added Res Class, blah...