made readme example async as well.