re-implemented jIndex - testing more.