no max() in hoc. Stupid.