initial version of index