example of using match template