initial revision of string plugin