replaced final list_t with set