make sure d_values is NULL in empty constructor
fixup map implementation