Added Pad functions