Template matching - description