Work on coding disagreement function