insert location helper