template matched with its view