For learning purpose: Working with promises.