code formatting (for report)