made DummyResource generic