updated to new API with RR instances