constructing location tuples