before add location