create index and show