Added two lines of code for future list deletion feature