general maintenance and formatting