sort out deletes