but mining words problem