styling on templating functions