build remaining templates