- use variable to store api host