you have to remove items from a list backwards