moved deletes to the end