Using assignments in add_values now

This makes mistakes much less likely
tvin works with const char*, too