First attempt at converting max() to ActRec