Modified code syntax, added async code syntax.