Got the minimize_2 implementation working, still not sure on how to use the interface supplied