failing test k=4
fixed index transcription error