final string generator