Add return statement for makeAPICall