fixed add padding, all tests pass