more prepwork for resource