added options to templates template