adding index action