Use more global variables