The Bamberger rearrangement