working on callApi