small changes to RD