Could you pass Template directly as parameter