the method registered with .then() is now invoked.