use ResourceCollection in preference to Path