collects metadata for resources ()