remove setTemplate since unnecessary in production