added prepad/postpad