added template for the table