checking the outputs