return resource