added string matching for the result page UI