add compact output mode