build_rdg