modified code to display ccn result in table view