modification of qosadapter