DO NOT USE - UNTESTED

Made references to potchain.