adds front and back end validations for duplicate group pieces