modify for resources