adding locations to api