Refactor section that recodes data to TWPAS standards for improved legibility.