Using only min error thr for now