Do not use global variables