making providing the base template optional