allow ql and qr to be set in the constructor