made string functions work