step 1 setup index
step 2 setup view
step 2 setup model