Addec code for metadata retrieval