removed unused string functions