change r7 to r8