setting up templates
templates almost set