use univaruints for indexing