collision query