modified code section for better display