Add a pattern to declare global variables