preserve order of locations