progress on output formatting