Trying to set up external api