Implemented Promises

You missed the curly brackets and the semicolon. If the linter and the pre-hook is not checking this, we have a problem here.