padding improvements