should this have a getMetadata() method?