before implementing minimizer