checking the detection circuits