start with rd data structures.