added nsvalues instead of strings for opint storage