adding in a function to delete the lists each time