use global variables!