add resource overriding