checks for deletions