completed metadata and doc