boggle reimpl