bin for talking to api added