ADD scrap function and string matching