uses toString to get the result from the string builder