Add pid to the index and show views