validate the output

validate the output#