Moved rd.c