more work on resource views