experimental LQC port, stole from LTC