inspecting the resource object