if variable is static like your highWaterMark, it holds it's value globally, but is visible only for the function where it is declared
if variable is static like your highWaterMark, it holds it's value globally, but is visible only for the function where it is declared