hm, i should learn more about static variables and stuff and global variables and extern and stuff