closes #12: Implemented user defined padding