added boolean check to Collection.add before triggering addAll event