added spatialqueries