adding padded template