new sp for metadata