formating output