removing global variables (no var declaration)