r2 code completed