can search for values, need to keep indices