added an example of an async config