add desctroy funcrion to list