previous dup-name strategy didn't play well with reallocs