added indices to div