added padding feature

added padding feature