add core location api