learning about 2.2.7 and 2.3 of the Promises API.