pass arguments to subtemplate spec