Removed unused redundant display function