no global variable needed