well formed tokens index