switched to res.cls