Use the min lib