added location api