Add example for r4