cleaning up and making better standard output