dealing with additions and deletions