just use global vars