Updated main to remove minimization calls