added BoyerMoore