volatile modifier can be important in loops