Example of Promises and one without