Hi kmm2908,

It should be a problem about the scope of subscription variable; in your code it is visible only within the require block. Please try something like this:

// Now subscribe to the...