add use the code of TypeQCM and TypeOpen