Write Index In Elements