also, `$tables` is a pretty generic name. I suggest `$consecutiveWords`.