added some base things in templates