local versions of index