adding afterAsync