Sin and righteousness, structurally explained