Locals y globals work at the same time