MainOne - encoding confliction  / algorithm final