Call id comparison, index and array length