Experimenting with promises instead of async