improved output layout