used a promise for http chained gets