added upmin and some other stuff