minimizing with hydrogen now works