adding qm files