setting up major templates