abstracting data out of rc