Necessary code for the Point-to-Point solution.

For frank and moe