update R oo notes and code