made the API call asynchronous
Merge branch 'develop'