ri doc is kept separately