Many BSM models feature an extra gauge boson, aka a “Z prime”. We give a general solution (of sorts) to the anomaly cancellation equations in such models.