add allocateBandwidth, not tested