updated to include the new async method