template in place