work on external api