string match snippet added