endoutput shows whether it worked