validation engine method rewrite

Rewrote the validation method in the AddItems() function.