gotoIndex instead of going back to Index