Both now print current index and a failure message