It's a bad idea to declare variables inside a block