Changed timing of CheckARM function