Added 2nd lvl minmax and dumb comments