Working Commit of the qm.java