print out loss asap as well