MAX option added
Merge pull request #24 from OlegPasko/master

MAX option