added static to some var