some nquad changes