Introduce max earlier
Merge pull request #2 from alanshaw/master

Introduce max earlier