implementing wrrb