add R oo notes and code