changed RB12 to RB8 and RB11 to RB9