Implemented qos (with additional comit)[now real done!]