added backup support to wrr algo