have a decent minimization thing in this version