adding location api