working on formating output