added min max and some examples