creating base template