min
rebased on clyde
updated box version