before global changes