[MASTER] added bad example that updates static variables