added the code ($remove() & $location) to delete each list individually