created the index and show views