add template as a option