```todos.splice(index, 1)``` in destroy makes the elements shift; therefor loops index has to be aligned has to be corrected