broken, currently adding minimizer logic