refactored display and efficiency.