added some base template stuffs