testing code for string