added more delegator classes; need to come up with generic concept
added default term when term is null after removal of illegal characters