Changed R12 to R9 and R11 to R8