implement inv_list