Variable scope example