functional to compare added and removed elements in simpleTypes