generalize indexin definition