Trying to get the index showing relevant message