adding index from bitstarter