work in progress: centroid-based reasoning