Added Variable Q