static variables inside a function is initialized on first call, then it stays as is.