doing page.resources