updated multi line output formatting