index type works