better text handling, specific code for AmendmentGroup