add another condition to print out result

specify what object in PageContent class is equal to the object in Data
class.