output reformatted