Wrote Inference block