setValue returns an index?