template file
simplify template