make base template