maybe v should be a dchar_t instead?