Added displayFun function