Used promise chaining in new samples