Clean code, less global variables.