expanding doc for metadata