Seems to be working pretty well, to a first approximation