added outside variables - chapter 03 - second edition