added string matching naive