finished index and show action