made qrmc compilable