nbvalues options must be stored as int