we can use promise chaining here.