formatting and included return button functionality