Two Boundary Value Control Algorithms