Added Min, Max and Swap