Change method to protect interrupt variables by separating interfaces to different locations.