now calling api