setup QRJM structure