AFT code formatting