replaced spatialThing with SpatialThing