changed async call to sync