A trivial bit of common code