changed from content to resource