gate index