changed resourceType back to base