added padding transformation
t p