better variable names, no global variables