build the string