Experimenting with promises instead of async
remove unnecessary code