Final Proof of Concept Code