added a presence absence template match