adding indext to step template