code on pr2 updated