Made use of async waterfall and added a missing semicolon