Added list deletion function