Generate the string more cleanly