output results formatting part done