Added a small change to max exmaple.