Use local variables instead of global names