adding code to create rda