The code which resides on the "listener" component of our first demo