extract meta_data method