index works with ets