add min and package