changing to checkoutput