formatting the output