fixed outputs formatting.  Added header to outputs.