setting Q