work with metadata