bootstrapping the template