add qp support in case