Made finding indexes of the emulator indexes by passing arrays possible.