Display function corrected.