some funny business with the string copy but not a big deal for now