added params to set_qos