model output formatting