added a QM example