made changes for padding