add example three for Resource