small change to current index initizialization