added rule for padding