Add template as an option to pass in