changes to res