commented out deleteResource