basic template setup