small typo maximum -> minimum