create views of index